powered by
permutation(x, all) permutation_next(x, all_next=TRUE) permutation_prev(x, all_prev=TRUE)
combn,comb_n
y <- rnorm(5) b <- permutation(y) b <- permutation_next(y) b <- permutation_prev(y)
Run the code above in your browser using DataLab